package ooday01;

public class Car {
    String brand;
    String color;
    int price;

    Car() {
    }

    Car(String brand, String color, int price) {
        this.brand = brand;
        this.color = color;
        this.price = price;
    }

    void start() {
        System.out.println(brand + "品牌、" + color + "的、" + price + "万的车启动了...");
    }

    void run() {
        System.out.println(brand + "品牌、" + color + "的、" + price + "万的车开始行驶了...");
    }

    void stop() {
        System.out.println(brand + "品牌、" + color + "的、" + price + "万的车停止了...");
    }

}


